package com.xbfinance.portal.pojo.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class P2pProjectCollectExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public P2pProjectCollectExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPorderIsNull() {
            addCriterion("porder is null");
            return (Criteria) this;
        }

        public Criteria andPorderIsNotNull() {
            addCriterion("porder is not null");
            return (Criteria) this;
        }

        public Criteria andPorderEqualTo(Byte value) {
            addCriterion("porder =", value, "porder");
            return (Criteria) this;
        }

        public Criteria andPorderNotEqualTo(Byte value) {
            addCriterion("porder <>", value, "porder");
            return (Criteria) this;
        }

        public Criteria andPorderGreaterThan(Byte value) {
            addCriterion("porder >", value, "porder");
            return (Criteria) this;
        }

        public Criteria andPorderGreaterThanOrEqualTo(Byte value) {
            addCriterion("porder >=", value, "porder");
            return (Criteria) this;
        }

        public Criteria andPorderLessThan(Byte value) {
            addCriterion("porder <", value, "porder");
            return (Criteria) this;
        }

        public Criteria andPorderLessThanOrEqualTo(Byte value) {
            addCriterion("porder <=", value, "porder");
            return (Criteria) this;
        }

        public Criteria andPorderIn(List<Byte> values) {
            addCriterion("porder in", values, "porder");
            return (Criteria) this;
        }

        public Criteria andPorderNotIn(List<Byte> values) {
            addCriterion("porder not in", values, "porder");
            return (Criteria) this;
        }

        public Criteria andPorderBetween(Byte value1, Byte value2) {
            addCriterion("porder between", value1, value2, "porder");
            return (Criteria) this;
        }

        public Criteria andPorderNotBetween(Byte value1, Byte value2) {
            addCriterion("porder not between", value1, value2, "porder");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andProjectidIsNull() {
            addCriterion("projectid is null");
            return (Criteria) this;
        }

        public Criteria andProjectidIsNotNull() {
            addCriterion("projectid is not null");
            return (Criteria) this;
        }

        public Criteria andProjectidEqualTo(Long value) {
            addCriterion("projectid =", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotEqualTo(Long value) {
            addCriterion("projectid <>", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidGreaterThan(Long value) {
            addCriterion("projectid >", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidGreaterThanOrEqualTo(Long value) {
            addCriterion("projectid >=", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidLessThan(Long value) {
            addCriterion("projectid <", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidLessThanOrEqualTo(Long value) {
            addCriterion("projectid <=", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidIn(List<Long> values) {
            addCriterion("projectid in", values, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotIn(List<Long> values) {
            addCriterion("projectid not in", values, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidBetween(Long value1, Long value2) {
            addCriterion("projectid between", value1, value2, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotBetween(Long value1, Long value2) {
            addCriterion("projectid not between", value1, value2, "projectid");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNull() {
            addCriterion("orderid is null");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNotNull() {
            addCriterion("orderid is not null");
            return (Criteria) this;
        }

        public Criteria andOrderidEqualTo(Integer value) {
            addCriterion("orderid =", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotEqualTo(Integer value) {
            addCriterion("orderid <>", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThan(Integer value) {
            addCriterion("orderid >", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThanOrEqualTo(Integer value) {
            addCriterion("orderid >=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThan(Integer value) {
            addCriterion("orderid <", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThanOrEqualTo(Integer value) {
            addCriterion("orderid <=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidIn(List<Integer> values) {
            addCriterion("orderid in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotIn(List<Integer> values) {
            addCriterion("orderid not in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidBetween(Integer value1, Integer value2) {
            addCriterion("orderid between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotBetween(Integer value1, Integer value2) {
            addCriterion("orderid not between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andRepaytimeIsNull() {
            addCriterion("repaytime is null");
            return (Criteria) this;
        }

        public Criteria andRepaytimeIsNotNull() {
            addCriterion("repaytime is not null");
            return (Criteria) this;
        }

        public Criteria andRepaytimeEqualTo(Date value) {
            addCriterion("repaytime =", value, "repaytime");
            return (Criteria) this;
        }

        public Criteria andRepaytimeNotEqualTo(Date value) {
            addCriterion("repaytime <>", value, "repaytime");
            return (Criteria) this;
        }

        public Criteria andRepaytimeGreaterThan(Date value) {
            addCriterion("repaytime >", value, "repaytime");
            return (Criteria) this;
        }

        public Criteria andRepaytimeGreaterThanOrEqualTo(Date value) {
            addCriterion("repaytime >=", value, "repaytime");
            return (Criteria) this;
        }

        public Criteria andRepaytimeLessThan(Date value) {
            addCriterion("repaytime <", value, "repaytime");
            return (Criteria) this;
        }

        public Criteria andRepaytimeLessThanOrEqualTo(Date value) {
            addCriterion("repaytime <=", value, "repaytime");
            return (Criteria) this;
        }

        public Criteria andRepaytimeIn(List<Date> values) {
            addCriterion("repaytime in", values, "repaytime");
            return (Criteria) this;
        }

        public Criteria andRepaytimeNotIn(List<Date> values) {
            addCriterion("repaytime not in", values, "repaytime");
            return (Criteria) this;
        }

        public Criteria andRepaytimeBetween(Date value1, Date value2) {
            addCriterion("repaytime between", value1, value2, "repaytime");
            return (Criteria) this;
        }

        public Criteria andRepaytimeNotBetween(Date value1, Date value2) {
            addCriterion("repaytime not between", value1, value2, "repaytime");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeIsNull() {
            addCriterion("repayyestime is null");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeIsNotNull() {
            addCriterion("repayyestime is not null");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeEqualTo(Date value) {
            addCriterion("repayyestime =", value, "repayyestime");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeNotEqualTo(Date value) {
            addCriterion("repayyestime <>", value, "repayyestime");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeGreaterThan(Date value) {
            addCriterion("repayyestime >", value, "repayyestime");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeGreaterThanOrEqualTo(Date value) {
            addCriterion("repayyestime >=", value, "repayyestime");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeLessThan(Date value) {
            addCriterion("repayyestime <", value, "repayyestime");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeLessThanOrEqualTo(Date value) {
            addCriterion("repayyestime <=", value, "repayyestime");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeIn(List<Date> values) {
            addCriterion("repayyestime in", values, "repayyestime");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeNotIn(List<Date> values) {
            addCriterion("repayyestime not in", values, "repayyestime");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeBetween(Date value1, Date value2) {
            addCriterion("repayyestime between", value1, value2, "repayyestime");
            return (Criteria) this;
        }

        public Criteria andRepayyestimeNotBetween(Date value1, Date value2) {
            addCriterion("repayyestime not between", value1, value2, "repayyestime");
            return (Criteria) this;
        }

        public Criteria andRepayaccountIsNull() {
            addCriterion("repayaccount is null");
            return (Criteria) this;
        }

        public Criteria andRepayaccountIsNotNull() {
            addCriterion("repayaccount is not null");
            return (Criteria) this;
        }

        public Criteria andRepayaccountEqualTo(Double value) {
            addCriterion("repayaccount =", value, "repayaccount");
            return (Criteria) this;
        }

        public Criteria andRepayaccountNotEqualTo(Double value) {
            addCriterion("repayaccount <>", value, "repayaccount");
            return (Criteria) this;
        }

        public Criteria andRepayaccountGreaterThan(Double value) {
            addCriterion("repayaccount >", value, "repayaccount");
            return (Criteria) this;
        }

        public Criteria andRepayaccountGreaterThanOrEqualTo(Double value) {
            addCriterion("repayaccount >=", value, "repayaccount");
            return (Criteria) this;
        }

        public Criteria andRepayaccountLessThan(Double value) {
            addCriterion("repayaccount <", value, "repayaccount");
            return (Criteria) this;
        }

        public Criteria andRepayaccountLessThanOrEqualTo(Double value) {
            addCriterion("repayaccount <=", value, "repayaccount");
            return (Criteria) this;
        }

        public Criteria andRepayaccountIn(List<Double> values) {
            addCriterion("repayaccount in", values, "repayaccount");
            return (Criteria) this;
        }

        public Criteria andRepayaccountNotIn(List<Double> values) {
            addCriterion("repayaccount not in", values, "repayaccount");
            return (Criteria) this;
        }

        public Criteria andRepayaccountBetween(Double value1, Double value2) {
            addCriterion("repayaccount between", value1, value2, "repayaccount");
            return (Criteria) this;
        }

        public Criteria andRepayaccountNotBetween(Double value1, Double value2) {
            addCriterion("repayaccount not between", value1, value2, "repayaccount");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountIsNull() {
            addCriterion("repayyesaccount is null");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountIsNotNull() {
            addCriterion("repayyesaccount is not null");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountEqualTo(Double value) {
            addCriterion("repayyesaccount =", value, "repayyesaccount");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountNotEqualTo(Double value) {
            addCriterion("repayyesaccount <>", value, "repayyesaccount");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountGreaterThan(Double value) {
            addCriterion("repayyesaccount >", value, "repayyesaccount");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountGreaterThanOrEqualTo(Double value) {
            addCriterion("repayyesaccount >=", value, "repayyesaccount");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountLessThan(Double value) {
            addCriterion("repayyesaccount <", value, "repayyesaccount");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountLessThanOrEqualTo(Double value) {
            addCriterion("repayyesaccount <=", value, "repayyesaccount");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountIn(List<Double> values) {
            addCriterion("repayyesaccount in", values, "repayyesaccount");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountNotIn(List<Double> values) {
            addCriterion("repayyesaccount not in", values, "repayyesaccount");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountBetween(Double value1, Double value2) {
            addCriterion("repayyesaccount between", value1, value2, "repayyesaccount");
            return (Criteria) this;
        }

        public Criteria andRepayyesaccountNotBetween(Double value1, Double value2) {
            addCriterion("repayyesaccount not between", value1, value2, "repayyesaccount");
            return (Criteria) this;
        }

        public Criteria andInterestIsNull() {
            addCriterion("interest is null");
            return (Criteria) this;
        }

        public Criteria andInterestIsNotNull() {
            addCriterion("interest is not null");
            return (Criteria) this;
        }

        public Criteria andInterestEqualTo(Double value) {
            addCriterion("interest =", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestNotEqualTo(Double value) {
            addCriterion("interest <>", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestGreaterThan(Double value) {
            addCriterion("interest >", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestGreaterThanOrEqualTo(Double value) {
            addCriterion("interest >=", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestLessThan(Double value) {
            addCriterion("interest <", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestLessThanOrEqualTo(Double value) {
            addCriterion("interest <=", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestIn(List<Double> values) {
            addCriterion("interest in", values, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestNotIn(List<Double> values) {
            addCriterion("interest not in", values, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestBetween(Double value1, Double value2) {
            addCriterion("interest between", value1, value2, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestNotBetween(Double value1, Double value2) {
            addCriterion("interest not between", value1, value2, "interest");
            return (Criteria) this;
        }

        public Criteria andCapitalIsNull() {
            addCriterion("capital is null");
            return (Criteria) this;
        }

        public Criteria andCapitalIsNotNull() {
            addCriterion("capital is not null");
            return (Criteria) this;
        }

        public Criteria andCapitalEqualTo(Double value) {
            addCriterion("capital =", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalNotEqualTo(Double value) {
            addCriterion("capital <>", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalGreaterThan(Double value) {
            addCriterion("capital >", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalGreaterThanOrEqualTo(Double value) {
            addCriterion("capital >=", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalLessThan(Double value) {
            addCriterion("capital <", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalLessThanOrEqualTo(Double value) {
            addCriterion("capital <=", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalIn(List<Double> values) {
            addCriterion("capital in", values, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalNotIn(List<Double> values) {
            addCriterion("capital not in", values, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalBetween(Double value1, Double value2) {
            addCriterion("capital between", value1, value2, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalNotBetween(Double value1, Double value2) {
            addCriterion("capital not between", value1, value2, "capital");
            return (Criteria) this;
        }

        public Criteria andLatedaysIsNull() {
            addCriterion("latedays is null");
            return (Criteria) this;
        }

        public Criteria andLatedaysIsNotNull() {
            addCriterion("latedays is not null");
            return (Criteria) this;
        }

        public Criteria andLatedaysEqualTo(Short value) {
            addCriterion("latedays =", value, "latedays");
            return (Criteria) this;
        }

        public Criteria andLatedaysNotEqualTo(Short value) {
            addCriterion("latedays <>", value, "latedays");
            return (Criteria) this;
        }

        public Criteria andLatedaysGreaterThan(Short value) {
            addCriterion("latedays >", value, "latedays");
            return (Criteria) this;
        }

        public Criteria andLatedaysGreaterThanOrEqualTo(Short value) {
            addCriterion("latedays >=", value, "latedays");
            return (Criteria) this;
        }

        public Criteria andLatedaysLessThan(Short value) {
            addCriterion("latedays <", value, "latedays");
            return (Criteria) this;
        }

        public Criteria andLatedaysLessThanOrEqualTo(Short value) {
            addCriterion("latedays <=", value, "latedays");
            return (Criteria) this;
        }

        public Criteria andLatedaysIn(List<Short> values) {
            addCriterion("latedays in", values, "latedays");
            return (Criteria) this;
        }

        public Criteria andLatedaysNotIn(List<Short> values) {
            addCriterion("latedays not in", values, "latedays");
            return (Criteria) this;
        }

        public Criteria andLatedaysBetween(Short value1, Short value2) {
            addCriterion("latedays between", value1, value2, "latedays");
            return (Criteria) this;
        }

        public Criteria andLatedaysNotBetween(Short value1, Short value2) {
            addCriterion("latedays not between", value1, value2, "latedays");
            return (Criteria) this;
        }

        public Criteria andLateinterestIsNull() {
            addCriterion("lateinterest is null");
            return (Criteria) this;
        }

        public Criteria andLateinterestIsNotNull() {
            addCriterion("lateinterest is not null");
            return (Criteria) this;
        }

        public Criteria andLateinterestEqualTo(Double value) {
            addCriterion("lateinterest =", value, "lateinterest");
            return (Criteria) this;
        }

        public Criteria andLateinterestNotEqualTo(Double value) {
            addCriterion("lateinterest <>", value, "lateinterest");
            return (Criteria) this;
        }

        public Criteria andLateinterestGreaterThan(Double value) {
            addCriterion("lateinterest >", value, "lateinterest");
            return (Criteria) this;
        }

        public Criteria andLateinterestGreaterThanOrEqualTo(Double value) {
            addCriterion("lateinterest >=", value, "lateinterest");
            return (Criteria) this;
        }

        public Criteria andLateinterestLessThan(Double value) {
            addCriterion("lateinterest <", value, "lateinterest");
            return (Criteria) this;
        }

        public Criteria andLateinterestLessThanOrEqualTo(Double value) {
            addCriterion("lateinterest <=", value, "lateinterest");
            return (Criteria) this;
        }

        public Criteria andLateinterestIn(List<Double> values) {
            addCriterion("lateinterest in", values, "lateinterest");
            return (Criteria) this;
        }

        public Criteria andLateinterestNotIn(List<Double> values) {
            addCriterion("lateinterest not in", values, "lateinterest");
            return (Criteria) this;
        }

        public Criteria andLateinterestBetween(Double value1, Double value2) {
            addCriterion("lateinterest between", value1, value2, "lateinterest");
            return (Criteria) this;
        }

        public Criteria andLateinterestNotBetween(Double value1, Double value2) {
            addCriterion("lateinterest not between", value1, value2, "lateinterest");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNull() {
            addCriterion("addtime is null");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNotNull() {
            addCriterion("addtime is not null");
            return (Criteria) this;
        }

        public Criteria andAddtimeEqualTo(Date value) {
            addCriterion("addtime =", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotEqualTo(Date value) {
            addCriterion("addtime <>", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThan(Date value) {
            addCriterion("addtime >", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("addtime >=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThan(Date value) {
            addCriterion("addtime <", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThanOrEqualTo(Date value) {
            addCriterion("addtime <=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeIn(List<Date> values) {
            addCriterion("addtime in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotIn(List<Date> values) {
            addCriterion("addtime not in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeBetween(Date value1, Date value2) {
            addCriterion("addtime between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotBetween(Date value1, Date value2) {
            addCriterion("addtime not between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddipIsNull() {
            addCriterion("addip is null");
            return (Criteria) this;
        }

        public Criteria andAddipIsNotNull() {
            addCriterion("addip is not null");
            return (Criteria) this;
        }

        public Criteria andAddipEqualTo(String value) {
            addCriterion("addip =", value, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipNotEqualTo(String value) {
            addCriterion("addip <>", value, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipGreaterThan(String value) {
            addCriterion("addip >", value, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipGreaterThanOrEqualTo(String value) {
            addCriterion("addip >=", value, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipLessThan(String value) {
            addCriterion("addip <", value, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipLessThanOrEqualTo(String value) {
            addCriterion("addip <=", value, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipLike(String value) {
            addCriterion("addip like", value, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipNotLike(String value) {
            addCriterion("addip not like", value, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipIn(List<String> values) {
            addCriterion("addip in", values, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipNotIn(List<String> values) {
            addCriterion("addip not in", values, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipBetween(String value1, String value2) {
            addCriterion("addip between", value1, value2, "addip");
            return (Criteria) this;
        }

        public Criteria andAddipNotBetween(String value1, String value2) {
            addCriterion("addip not between", value1, value2, "addip");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}